<nav class="nav nav-pills nav-stacked">
  <a class="nav-link" routerLink="/home" routerLinkActive="active">首页</a>
  <a class="nav-link" routerLink="/news" routerLinkActive="active">新闻</a>
  <a class="nav-link" routerLink="/user" routerLinkActive="active">用户</a>
</nav>
<router-outlet></router-outlet>




